package com.zto.wk.webflux.user;

import org.springframework.web.reactive.socket.WebSocketSession;

/**
 * Created by wangkuan at 2018-08-13 15:51
 */
public class UserSession {
    private String id;
    private String name;
    private WebSocketSession webSocketSession;

    public UserSession() {
    }

    public UserSession(String id, String name, WebSocketSession webSocketSession) {

        this.id = id;
        this.name = name;
        this.webSocketSession = webSocketSession;
    }

    public String getId() {

        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public WebSocketSession getWebSocketSession() {
        return webSocketSession;
    }

    public void setWebSocketSession(WebSocketSession webSocketSession) {
        this.webSocketSession = webSocketSession;
    }
}
